package com.shark.springbootcms.service;

import com.shark.springbootcms.common.Result;
import com.shark.springbootcms.form.PermsForm;
import com.shark.springbootcms.form.UserForm;
import com.shark.springbootcms.model.Role;

public interface RoleService {
    Result addRole(Role form);

    Result list(UserForm form);

    Result edit(Role role, String id);

    Result delete(String id);

    Result perms(String roleId);

    Result addPerms(PermsForm form);
}
